
local status, module = pcall(require, "rainbow-delimiters")
if not status then
  vim.notify("没有找到rainbow-delimiters")
  return
end

local rainbow_delimiters = require 'rainbow-delimiters'
-- local status, rainbow = pcall(require, "rainbow-delimiters")
-- if not status then
--   vim.notify("未找到ranbow插件")
--   return
-- end


vim.g.rainbow_delimiters = {
    strategy = {
        [''] = rainbow_delimiters.strategy['global'],
        vim = rainbow_delimiters.strategy['local'],
    },
    query = {
        [''] = 'rainbow-delimiters',
        lua = 'rainbow-blocks',
    },
    priority = {
        [''] = 110,
        lua = 210,
    },
    highlight = {
        'RainbowDelimiterRed',
        'RainbowDelimiterYellow',
        'RainbowDelimiterBlue',
        'RainbowDelimiterOrange',
        'RainbowDelimiterGreen',
        'RainbowDelimiterViolet',
        'RainbowDelimiterCyan',
    },
}
